package cn.cmeizu.spring6.iocxml.dimap;

import java.util.List;
import java.util.Map;

/**
 * @author cmeizu
 * @date 2023/2/9 00:29
 */
public class Student {
  public Map<String, Teacher> gettMap() {
    return tMap;
  }

  public void settMap(Map<String, Teacher> tMap) {
    this.tMap = tMap;
  }

  public List<Lesson> getLessonList() {
    return lessonList;
  }

  public void setLessonList(List<Lesson> lessonList) {
    this.lessonList = lessonList;
  }

  private List<Lesson> lessonList;

  private Map<String, Teacher> tMap;
  private Integer sid;

  public Integer getSid() {
    return sid;
  }

  public void setSid(Integer sid) {
    this.sid = sid;
  }

  public String getSname() {
    return sname;
  }

  public void setSname(String sname) {
    this.sname = sname;
  }

  private String sname;


  public void run() {
    System.out.println("学生编号: " + sid + "学生名称: " + sname);
    System.out.println(tMap);
    System.out.println(lessonList.toString());
  }
}
